package com.angel.email.configuration.builders.impl.lycos;

import com.angel.common.keyValue.KeyValueResult;
import com.angel.common.keyValue.impl.KeyValueImpl;
import com.angel.common.keyValue.impl.KeyValueResultImpl;
import com.angel.email.account.AccountInformation;
import com.angel.email.configuration.builders.IncomingEmailConfigurationBuilder;
import com.angel.email.constants.EmailPropertyConstants;

/**
 *
 * @author William
 *
 */
public class LycosIncomingEmailConfigurationBuilder extends IncomingEmailConfigurationBuilder{

	public LycosIncomingEmailConfigurationBuilder(AccountInformation accountInformation){
		super(accountInformation);
	}

	public KeyValueResult buildIncomingEmailConfiguration() {
		KeyValueResult result = new KeyValueResultImpl();

		result.addKeyValue(new KeyValueImpl(EmailPropertyConstants.EMAIL_INCOMING_URL, "pop.mail.lycos.com"));
		result.addKeyValue(new KeyValueImpl(EmailPropertyConstants.EMAIL_INCOMING_PORT, "110"));
		
		return result;
	}


}
